<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>查询航班</title>
    </head>
    <body>
    	<div id="search_air_form">
        </div>
        <div id="ZjlyGridDiv" class="x-form-item">
        </div>
        <div id="airlaneGrid" class="x-form-item">
        </div>
        <div id="airlaneGrid2" class="x-form-item">
        </div>
        <div id="airlaneGrid3" class="x-form-item">
        </div>
        <div id="airlaneGrid4" class="x-form-item">
        </div>
        <script>
        	var orderid = "<%=@orderid%>";
		var checkAir_order_no = "<%=@order_no%>";
		var checkAir_customer_name = "<%=@customer.name%>";
		var checkAir_customer_id = "<%=@customer.id%>";
                
                var from = "<%=@from%>";
                var to = "<%=@to%>";
                var to2 = "<%=@to2%>";
                var mid = "<%=@mid%>";
                var from_airport = "<%=@from_airport%>";
                var to_airport = "<%=@to_airport%>";
                var to2_airport = "<%=@to2_airport%>";
                var mid_airport = "<%=@mid_airport%>";
                var airways_name = "<%=@airways_name%>";
                var airways_code = "<%=@airways_code%>"
                
                var trip_type = "<%=@trip_type%>"; //航程类型 ''是单程 'wf'是往返 'lc'是联程 'wflc'是往返+联程
                var dc_checked = true;
                var wf_checked = false;
                var lc_checked = false;
                var wflc_checked = false;
                if (trip_type=="lc"){
                    dc_checked = false;
                    lc_checked = true;
                }else if (trip_type=="wf"){
                    dc_checked = false;
                    wf_checked = true;
                }else if (trip_type=="wflc"){
                    dc_checked = false;
                    wflc_checked = true;
                }
                var position_only = "<%=@position%>";
                var position_only2 = "<%=@position2%>";

	</script>
        <%= javascript_include_tag "/javascripts/index/checkAir.js" %>
    </body>
</html>
